/* 错误提示弹窗 */
.error-toast {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
  animation: slideDownFadeIn 0.3s ease-out;
}

.error-toast.fade-out {
  animation: slideUpFadeOut 0.3s ease-in forwards;
}

.error-toast__content {
  background-color: #fff;
  color: #ff4444;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid #ffe0e0;
  max-width: 480px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes slideDownFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUpFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

